/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Beans;

import Entity.Stakeholder;
import Entity.StakeholderTier;
import exception.ExistException;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Stewart
 */
@Remote
public interface TierManagementBeanRemote {
    public void createTier(String name, Integer commissionPercent, Double feeSubscription, Double feeMarketIntelligence, Double costPerClick) throws ExistException;
    public void deleteTier(String name) throws ExistException;
    public boolean modifyTier(String name, Integer commissionPercent, Double feeSubscription, Double feeMarketIntelligence, Double costPerClick);;
    public List viewTier(String name);
    public List<StakeholderTier> getAllTiers();
    public List<StakeholderTier> getSpecificTier(String tier);
    public void remove();

    public java.util.List<Entity.Stakeholder> getAllStakeholders();

    public boolean checkTierConflict(java.lang.String name);

    public boolean checkTierGotStakeholder(java.lang.String name);
}
